<template>
  <div>
    <el-menu
      :default-active="activeIndex"
      class="el-menu-demo"
      mode="horizontal"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b">
      <el-menu-item index="1"><router-link  to="/latest" >本期开奖</router-link></el-menu-item>
      <el-menu-item index="2"><router-link  to="/history" >历史记录</router-link></el-menu-item>
      <el-menu-item index="3"><router-link  to="/frequency" >往期频率</router-link></el-menu-item>
    </el-menu>
    <router-view></router-view>
  </div>

</template>

<script>

export default {
  name: 'Index',
  data() {
    return {
      activeIndex: '1'
    }
  }
  }
</script>

<style>
</style>
